<?php
if(!pdo_fieldexists('dayu_comment', 'recycle')) {
	pdo_query("ALTER TABLE ".tablename('dayu_comment')." ADD `recycle` tinyint(1) NOT NULL DEFAULT '0';");
}
if(!pdo_fieldexists('dayu_comment_category', 'hide')) {
	pdo_query("ALTER TABLE ".tablename('dayu_comment_category')." ADD `hide` tinyint(1) NOT NULL DEFAULT '0';");
}
if(!pdo_fieldexists('dayu_comment_category', 'pic')) {
	pdo_query("ALTER TABLE ".tablename('dayu_comment_category')." ADD `pic` tinyint(1) NOT NULL DEFAULT '0';");
}
if(!pdo_fieldexists('dayu_comment', 'hide')) {
	pdo_query("ALTER TABLE ".tablename('dayu_comment')." ADD `hide` tinyint(1) NOT NULL DEFAULT '0';");
}